package com.java.dao;

import java.util.List;

import com.java.pojo.ComDept;
import com.java.pojo.ComEmp;
import com.java.pojo.ComRoom;

public interface IRoomDao {
	public ComRoom getRoom(String id);
	public int getRoomNumber();
	public List<ComRoom> getRoomListByPage(int start,int offset);
	public List<ComEmp> getEmpList();
	public List<ComDept> getDeptList();
	public boolean addNewRoom(String roomId,String roomName,String roomManager,String roomPhone,
			String roomDept,String roomAdress,String roomDescribe);
	public boolean editRoom(String roomId,String roomName,String roomManager,String roomPhone,
			String roomDept,String roomAdress,String roomDescribe);
	
	public boolean deleteRoom(String[] room);
}
